<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">    
    <meta name="format-detection" content="telephone=no, email=no">
    <meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="description" content="描述1">
    <meta name="keywords" content="描述1">
    <title>Document</title>
    <style>
        /* 用于完全解决由支持双击缩放手势引起的点击事件的延迟 */
        html {
            touch-action: manipulation;
        }
		div[class ^= "box"]{
			width:200px;
			height:200px;
			position:absolute;
			left:0;
			top:0;
			border:1px solid #ccc;
		}
		div[class ^= "box"]:nth-child(1){
			z-index:4;
			background:blue;
		}
		div[class ^= "box"]:nth-child(2){
			z-index:2;
			background:yellowgreen;
		}
		div[class ^= "box"]:nth-child(3){
			z-index:3;
			background:hotpink;
		}
		.box2 span,i{
			position:absolute;
			height:100px;
			width:200px;
			top:50px;
			left:0;
			background:gray;
			z-index:9;
		}
		i{
			height:30px;
			top:170px;
			
			background:red;
		}
    </style>
</head>

<body>
	<div class="box1">1</div>
	<div class="box2">2<span>2.1</span><i>2.2</i></div>
	<div class="box3">3</div>
	
	
	

</body>

</html>